projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0f217
)
dialog: Use an element name
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 24 Nov 2015 12:41:26 +0000
(07:41 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 24 Nov 2015 12:41:26 +0000
(07:41 -0500)
This will help differentiating dialogs from other windows, style-wise.
gtk/gtkdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdialog.c
b/gtk/gtkdialog.c
index a0601f9b67ac0bb437f8f28f0906043f75b6883b..e2713b24cc450ccbe77cb22549d6486bde4a9872 100644
(file)
--- a/
gtk/gtkdialog.c
+++ b/
gtk/gtkdialog.c
@@
-665,6
+665,8
@@
gtk_dialog_class_init (GtkDialogClass *class)
gtk_widget_class_bind_template_child_internal_private (widget_class, GtkDialog, action_area);
gtk_widget_class_bind_template_child_internal_private (widget_class, GtkDialog, action_box);
gtk_widget_class_bind_template_callback (widget_class, gtk_dialog_delete_event_handler);
+
+ gtk_widget_class_set_css_name (widget_class, "dialog");
}
static void